# $Id: PKGBUILD 65842 2012-02-22 12:59:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=perl-html-element-extended
pkgver=1.18
pkgrel=2
pkgdesc="Perl extension for HTML::Element"
arch=('any')
url="http://search.cpan.org/dist/HTML-Element-Extended/"
license=('GPL')
depends=('perl')
conflicts=('perl-html-elementtable')
source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/HTML-Element-Extended-$pkgver.tar.gz")
md5sums=('41ec9dcc7cefa03b204d0e8ca8e1c112')

build() {
  cd $srcdir/HTML-Element-Extended-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
